#ifndef VIDEOSOURCE_H
#define VIDEOSOURCE_H

#include <opencv2/opencv.hpp>

class VideoSource
{
public:
    virtual ~VideoSource() {}

    virtual void setSize(const cv::Size& size) =0;

    virtual cv::Size getSize() =0;

    virtual bool getFrame(cv::Mat& frame) =0;

	virtual bool isOpened() = 0;

};

#endif // VIDEOSOURCE_H
